/*
 * This file is a part of the RMI Plugin for Eclipse tutorials.
 * Copyright (C) 2002-7 Genady Beryozkin
 */
package storage;

/**
 *@author Adam,Aqeel
 */

import java.io.File;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.Vector;

import javax.media.MediaLocator;

public interface RMIServer extends Remote {
	
	//defining abstract methods
	
	public int getPort() throws RemoteException;
	public void begin() throws RemoteException;
	
	public String[] getMusicList() throws RemoteException;
	public double transmitMusicTrack(String trackName, String DestinationIP, String DestinationPORT) throws RemoteException;
	public void stopTransmit() throws RemoteException;
	 
	public Vector getSongs() throws RemoteException;
	public void stream(String myHifiAddress) throws RemoteException;
	
	
	
	
}